<template>
  <div class="app-container">
    <el-tabs v-model="activeName" type="border-card">
      <el-tab-pane label="项目立项" name="0">
        <project-establishment v-if="activeName == 0"></project-establishment>
      </el-tab-pane>
      <el-tab-pane label="履约管理" name="1">
        <performance v-if="activeName == 1"></performance>
      </el-tab-pane>
      <el-tab-pane label="项目到期/终止" name="2">
        <project-expire v-if="activeName == 2"></project-expire>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>

// 项目立项组件
import projectEstablishment from "./projectEstablishment.vue";
// 履约管理
import performance from "./performance.vue";
// 项目到期/终止
import projectExpire from "./projectExpire.vue";
export default {
  name: "Project",
  components: {
    projectEstablishment,
    performance,
    projectExpire,
  },
  data() {
    return {
      activeName: '0'
    };
  },
  created() {
  },
  methods: {
  }
};
</script>
